import http from './http';

// 城市的表格接口
export const tableApi = (data?: object) =>
  http.post('/cities/manage/list', data);
// 城市列表
export const cityApi = (params?: object) => http.get('/cities/list', params);
// 删除接口
export const deleteApi = (data?: object) =>
  http.post('/cities/manage/del', data);

// 新增接口
export const addApi = (data?: object) => http.post('/cities/manage/add', data);

// 登录接口
export const loginApi = (data?: object) => http.post('/users/login', data);
